<?php
namespace app\home\controller;
use app\home\model\AdModel;
use app\home\model\ArticleModel;
use app\home\model\IndexModel;
use think\Db;

class Video extends Base
{

    /**
     * listing [ 视频列表页 ]
     * @author [Boot.Z] [852952656@qq.com]
     * @return mixed
     */
    public function listing(){



        $id = 31;

        $AdModel = New AdModel();
        // +----------------------------------------------------------------------
        // |  4个视频广告
        // +----------------------------------------------------------------------
        $fourAdvert = $AdModel ->videoAdvertFour($id);
        $this->assign('fourAdvert',$fourAdvert);
        // +----------------------------------------------------------------------
        // |  8个视频广告
        // +----------------------------------------------------------------------
        $ide=32;
        $Advert = $AdModel ->videoAdvert($ide);
        $this->assign('Advert',$Advert);

        return $this->fetch();
    }





}
